package com.wx.activitys.drp.mapper;

import java.util.List;
import java.util.Map;

import com.wx.activitys.drp.model.BWithdrawal;
import com.wx.activitys.drp.modelExample.BWithdrawalExample;

public interface BWithdrawalMapper {
    /**
     * 提现申请
     * @param bWithdrawal
     * @return
     */
	int insertWithdrawal(BWithdrawal bWithdrawal);
	
	int update(BWithdrawal bWithdrawal);
	
	/**
	 * 分页查询所有的提现申请
	 * @param map
	 * @return
	 */
	List<BWithdrawalExample> queryPageList(BWithdrawal entity);
	
	List<BWithdrawal> findByEntity(Map<String,Object> map);
	
	int countByMap(Map<String,Object> map);
	
	int count(BWithdrawal entity);
	
}
